package com.horse.cloud.member.user.feignclients;

import com.horse.cloud.framework.general.response.Response;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @create : Created by intelliJ IDEA 17.2
 * @author : bing.Pan
 * @e-mail : 15923508369@163.com
 * @gmdate : 10 23 2017 16:19
 * @sidesc : feign 客户端调用类
 */

@FeignClient(name = "cloud-member-account",configuration = FeignLogConfiguration.class,fallbackFactory = MemberAccountFallBackFactory.class)
public interface MemberAccountClient {

    /**
     * 获取用户账户信息
     * @return
     */
    @RequestMapping(value = "/memberAccount/getMemberAccount")
    Response getMemberAccount();

}
